﻿using Bot.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Bot.Domain.Question
{
    public class QuestionDto : BaseDto
    {
        public QuestionDto()
        {
        }
               
        [Required]
        
        public int SiteId { get; set; }   
        
        [Required]
        [MaxLength(-1)]        
        public string StandardQuestion { get; set; }   
        
        [Required]
        [MaxLength(-1)]        
        public string Answer { get; set; }   
        
        [Required]
        
        public int QuestionCategoryId { get; set; }   
        
        [Required]
        
        public int ModifyUserId { get; set; }   
        
        [Required]
        
        public DateTime ModifyTime { get; set; }   
        
        [Required]
        
        public DateTime CreateTime { get; set; }   
        
        [Required]
        
        public bool IfSystem { get; set; }   
        
    }
}
